--[[
-- Author:      feilong
-- DateTime:    2018-04-23 17:19:33
-- Description: 节点的服务管理
	为了更方便的取得节点中各服务的信息，
--]]
local skynet = require "skynet"


local function init()
	local message_handler = new("manager.message_handler")
	local cluster_manager = new("manager.cluster_manager")



	g.message_handler = message_handler
	g.cluster_manager = cluster_manager
end


---------------------------------------------------------
-- skynet
---------------------------------------------------------
g.StartService(".manager", init)
